<template>
    <div @click="increment" class="count">{{ count }}</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
const count = ref<number>(0);
const increment = () => {
    count.value++;
};
</script>
<style lang="scss" scoped>
.count {
    font-size: 20px;
    width: 50px;
    height: 50px;
    background-color: aqua;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}
</style>
